﻿using SqlSugar;

namespace SEIPropertyDataService.Entity.Models
{
    /// <summary>
    /// 物性
    /// </summary>
    [SugarTable("dippr_accepted_const_prop")]
    public class DPPropertiesModel
    {
        /// <summary>
        /// 组分dpid
        /// </summary>
        [SugarColumn(ColumnName = "DIPPR_ID")]
        public int DP_ID { get; set; }
        /// <summary>
        /// 组分id
        /// </summary>
        [SugarColumn(ColumnName = "nPCdataCompID")]
        public int PCdataCompID { get; set; }
        /// <summary>
        /// Compound
        /// </summary>
        public string Compound { get; set; }
        /// <summary>
        /// 物性全称
        /// </summary>
        public string Property { get; set; }
        /// <summary>
        /// 物性简称
        /// </summary>
        [SugarColumn(ColumnName = "eAppPropAbbreviation")]
        public string PropAbbreviation { get; set; }
        /// <summary>
        /// 物性值
        /// </summary>
        public double Value { get; set; }
        /// <summary>
        /// 物性单位
        /// </summary>
        public string Units { get; set; }
        /// <summary>
        /// UnitSymbol
        /// </summary>
        [SugarColumn(ColumnName = "sUnitSymbol")]
        public string UnitSymbol { get; set; }
        /// <summary>
        /// 注释id
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public int? Note { get; set; }
        /// <summary>
        /// 注释内容-英文
        /// </summary>
        [SugarColumn(ColumnName = "sNoteEN")]
        public string NoteContentEN { get; set; }
        /// <summary>
        /// 注释内容-中文
        /// </summary>
        [SugarColumn(ColumnName = "sNote")]
        public string NoteContent { get; set; }
        /// <summary>
        /// 数据类型
        /// </summary>
        public string Data_Type { get; set; }
        /// <summary>
        /// 误差
        /// </summary>
        public string Error { get; set; }
        /// <summary>
        /// 来源
        /// </summary>
        public string Source { get; set; }
        ///// <summary>
        ///// 最后更新时间
        ///// </summary>
        //[JsonConverter(typeof(CustomDateTimeConverter))]
        //public DateTime? Last_Updated { get; set; }
    }
}